package com.mall.dubbo.api;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.model.domain.UmsAdmin;

public interface UmsAdminApi {
    UmsAdmin findOne(String username, String password);

    UmsAdmin findById(Long id);

    Page list(String keyword, Integer pageNum, Integer pageSize);

    boolean register(UmsAdmin umsAdmin);

    boolean delete(Integer id);

    boolean updateStatus(Integer id, Integer status);

    boolean update(UmsAdmin umsAdmin);
}
